<!DOCTYPE html>
<body>
<script>
var iframe = document.createElement('iframe');
iframe.onload = (_ => {
    if (iframe.contentWindow.location.origin == location.origin) {
      document.title = "FAIL";
      return;
    }
    iframe.contentWindow.navigator.serviceWorker.ready
      .then(reg => reg.unregister())
      .then(_ => { document.title = "PASS"; })
  });
iframe.src = location.search.substring(1);
document.body.appendChild(iframe);
</script>
</body>
